package com.aote.expression.paramprocessor;

import java.util.Map;

import org.w3c.dom.Element;

import com.aote.expression.Param;
import com.browsesoft.htmlcomponent.HTMLBasicComponent;

/**
 * 新版参数处理器，接口中多了Element，消除了User
 */
public interface ParameterProcessor {
	/**
	 * 根据参数和属性集合进行默认值处理
	 * 
	 * @param param
	 *            参数
	 * @return
	 */
	public String process(Param param, Map attr, HTMLBasicComponent comp,
			Element element) throws NoFitValueException;
}
